@import 'swiper.min';

body.products_show {
  .wrap {
    padding-top: $headerH;
  }
  .top-detail-bg {
    background-image: $blue-gradient-revert;
  }
  .top-detail {
    padding: 15vh 0;
    color: #fff;
    font-size: 1rem;
  }
  .logo-area {
    text-align: center;
  }
  .product-logo {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
  }
  .product-links .btn {
    background-color: $color-brown;
    border-radius: 0;
    color: #fff;
    margin: 5px;
    font-size: 1.2rem;
    padding: 2px 15px;
    &:hover {
      background-color: darken($color-brown, 10%);
    }
  }
  .detail-area {
    padding: 0 7vw;
    font-size: 1rem;
  }
  .award-name {
    font-weight: bold;
    color: lighten($color-brown, 10%);
  }
  .product-name {
    .title,.summary {
      display: inline-block;
      vertical-align: top;
    }
    .summary {
      font-weight: normal;
      margin: 0;
      margin-left: 20px;
      max-width: 70%;
      margin-top: 3px;
    }
    .title {
      font-weight: bold;
      font-size: 2rem;
    }
  }
  .product-des {
    margin: 20px 0;
    text-indent: 2em;
    color: rgba(255, 255, 255, 0.7);
  }
  .editor-rank {
    $top: 10px;
    position: relative;
    padding-top: $top;
    border-top: 1px dashed #475A85;
    .title {
      position: absolute;
      color: $color-brown;
      left: 0;
      top: $top;
      font-weight: bold;
    }
    .content {
      padding-left: 80px;
    }
  }
  .product-screenshots {
    .swiper-container {
      .swiper-slide {
        padding: 40px 0 60px 0;
        text-align: center;
        img {
          max-width: 70%;
          max-height: 600px;
          box-shadow: 0 2px 17px 0 rgba(0, 0, 0, 0.1);
        }
      }
    }
    .swiper-button-next,.swiper-button-prev {
      background: url() center center no-repeat;
      background-size: 27px 60px;
      height: 60px;
      padding: 50px 20px;
      transition: all .3s;
      margin-top: -50px;
      &:hover {
        background-image: url();
      }
    }
    .swiper-button-next {
      transform: rotate(180deg);
    }
    .swiper-pagination-bullet {
      width: 10px;
      height: 10px;
      background-color: $color-brown;
    }
  }
  @include mobile {
    .product-logo {
      width: 50%;
    }
    .top-detail-bg {
      text-align: center;
    }
    .detail-area {
      margin-top: 20px;
    }
    .product-screenshots {
      padding: 0;
    }
    .swiper-button-prev {
      left: 0;
    }
    .swiper-button-next {
      right: 0;
    }
    .product-name {
      .title {
        margin-left: 0;
      }
      .summary {
        max-width: 100%;
        margin-left: 0;
        padding-bottom: 20px;
        border-bottom: 1px dashed #475A85;
      }
    }
    .top-detail {
      padding: 5vh 0;
    }
    .editor-rank {
      .title {
        position: static;
      }
      .content {
        padding-left: 0;
      }
    }
  }
  .duoshuo-comment {
    max-width: 850px;
  }
} // root end
